#include<stdio.h>
int move(int *q,int j,int put)
{
    q[j] = put;

}

int main()
{
    int a[10]={1,2,3,4,5,6,7,8,9};
    int *i = &a;
    int y = 2;
    int rr = 12;
    move(i,y,rr);
    printf("%d",a[y]);
    return 0;

}